/**
 * 
 */
package com.chainwintel.prjmgmt.action;

/**
 * reflecting the vales of <b>dhtmlxTree</b> 
 * 	- AJAX powered DHTML JavaScript Tree component - DataProcessor parameter: <code>!nativeeditor_status</code>
 * @author dearshor
 *
 */
public enum NativeEditorStatus {
	
	
	/**
	 * !nativeeditor_status exists and value is "inserted" for insert operation
	 */
	INSERTED("insert"),
	
	/**
	 * !nativeeditor_status exists and value is "deleted" for delete
	 */
	DELETED("delete"),
	
	/**
	 * !nativeeditor_status doesn't exist or value is "updated" for update operation 
	 */
	UPDATED("update");
	
	private String operation;

	/**
	 * @param operation
	 */
	private NativeEditorStatus(String operation) {
		this.operation = operation;
	}

	/**
	 * @param operation the operation to set
	 */
/*	public void setOperation(String operation) {
		this.operation = operation;
	}*/

	/**
	 * @return the operation
	 */
	public String getOperation() {
		return operation;
	}
	
	

}
